Skip to content

Conversation

owenv
Copy link
Collaborator

@owenv owenv commented May 30, 2025

Integrate a signature of the CustomTask into the rule info alongside the description since custom tasks are arbitrarily flexible

@owenv
Copy link
Collaborator Author

owenv commented May 30, 2025

@swift-ci test

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It probably won't matter in practice most of the time, but the variable-length hash components really should be framed (e.g. to ensure inputPaths=a, outputPaths=b,c,d is hashed differently than inputPaths=a,b outputPaths=c,d)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, fixed in the latest commit

@owenv owenv force-pushed the owenv/custom-task-dupes branch from b7ea620 to 818b886 Compare May 30, 2025 21:02
@owenv
Copy link
Collaborator Author

owenv commented May 30, 2025

@swift-ci test

@owenv owenv merged commit ffab126 into release/6.2 May 30, 2025
24 checks passed
@owenv owenv deleted the owenv/custom-task-dupes branch May 30, 2025 22:03
cmcgee1024 added a commit to swiftlang/swift-package-manager that referenced this pull request Jun 4, 2025
This test case did not work until
swiftlang/swift-build#541 was merged.

Enable more plugin dependency testing.

Allow more than one custom task per target in the PIF Builder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants